@import '@/app/styles/variables';

.info {
  margin: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.descr {
  margin-top: 40px;
  margin-bottom: 50px;
  font-weight: 400;
  font-size: 24px;
  line-height: 34px;
}

.socials {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.socialsButton {
  width: 250px;
  padding: 0 38px;
  gap: 16px;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
}

.appleIcon {
  position: relative;
  top: -1.8px;
}

.socialsIcon {
  font-size: 32px;
  height: 32px;
}

.phone {
  position: relative;
  width: 296px;
  height: 624px;
  margin: 0 auto;
}

.frame {
  position: absolute;
  z-index: 2;
}

.video {
  position: absolute;
  z-index: 1;
  border-radius: 35px;
  left: 6px;
  top: 6px;
  width: 290px;
  height: 618px;
}

.parallaxItem {
  width: 140px;
  height: 140px;
}

.parallaxItem:nth-child(1) {
  top: 60px;
  left: 20%;
}
.parallaxItem:nth-child(2) {
  top: 340px;
  left: 25%;
}
.parallaxItem:nth-child(3) {
  top: 120px;
  right: 15%;
}
.parallaxItem:nth-child(4) {
  top: 400px;
  right: 25%;
}

@include media(lg) {
  .parallaxItem:nth-child(1) {
    top: 60px;
    left: 10%;
  }
  .parallaxItem:nth-child(2) {
    top: 340px;
    left: 15%;
  }
  .parallaxItem:nth-child(3) {
    top: 120px;
    right: 10%;
  }
  .parallaxItem:nth-child(4) {
    top: 400px;
    right: 20%;
  }
}

@include media(md) {
  .parallaxItem:nth-child(1) {
    top: 60px;
    left: 111px;
  }
  .parallaxItem:nth-child(2) {
    top: 340px;
    left: 121px;
  }
  .parallaxItem:nth-child(3) {
    top: 120px;
    right: 71px;
  }
  .parallaxItem:nth-child(4) {
    top: 400px;
    right: 121px;
  }
}

@include media(
  sm,
  (
    sm: 1200px,
  )
) {
  .socials {
    margin: 0 -4px;
    gap: 16px;
  }

  .socialsButton {
    padding: 0 34px;
    width: 216px;
  }
}

@include media(sm) {
  .descr {
    font-size: 20px;
    line-height: 26px;
  }

  .info {
    margin: 60px 0;
  }

  .parallaxItem {
    width: 112px;
    height: 112px;
  }
  .parallaxItem:nth-child(1) {
    top: 60px;
    left: 32px;
  }
  .parallaxItem:nth-child(2) {
    top: 340px;
    left: 62px;
  }
  .parallaxItem:nth-child(3) {
    top: 120px;
    right: 20px;
  }
  .parallaxItem:nth-child(4) {
    top: 400px;
    right: 52px;
  }
}

@include media(
  xs,
  (
    xs: 1000px,
  )
) {
  .socials {
    margin: 0;
    gap: 10px;
  }

  .socialsButton {
    width: fit-content;
    padding: 15px;
    border-radius: 20px;
    border-width: 1px;
  }

  .socialsText {
    display: none;
  }

  .buttonContent {
    font-size: 18px;
    line-height: 20px;
  }
}

@include media(xs) {
  .info {
    margin-top: 40px;
  }

  .descr {
    max-width: 335px;
    font-size: 16px;
    line-height: 24px;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .parallaxItem {
    z-index: 3;
    width: 100px;
    height: 100px;
    transform: none !important;
  }
  .parallaxItem:nth-child(1) {
    display: none;
  }
  .parallaxItem:nth-child(2) {
    display: none;
  }
  .parallaxItem:nth-child(3) {
    top: 120px;
    right: -5px;
  }
  .parallaxItem:nth-child(4) {
    top: 400px;
    left: -5px;
  }
}
